<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="css/my-components.css" />
    <script src="js/vue.js"></script>
</head>
<body>
    <div id="app-20">
        <!-- 组件的引用必须在 vue 实例指定的容器中 -->
        <header-bar :name="message"></header-bar>
        <hr />
        <header-bar name="关羽"></header-bar>
    </div>
    <script src="js/my-components-bar.js"></script>
    <script type="text/javascript">

        var vm = new Vue({
            el: '#app-20',
            data: {
                message: "貂蝉"
            }
        })
    </script>
</body>
</html>